let login = new Vue({
	el: "#header",
	data: {
		onlogin: false,
		loginName: "昵称",
		loginId: "",
		user:{}
	},
	mounted: function(){
		axios.get("member/check").then(rt =>{
			if(rt.status == 200 && rt.data.code == 200){
				this.user = rt.data.data;
				this.onlogin = true;
				this.loginName = rt.data.data.nickName;
				this.loginId = rt.data.data.mno;
			}else{
				this.onlogin = false;
			}
		})
	}
})